package com.kaiwukj.android.ufamily.mvp.ui.page.home.mine;

import androidx.annotation.DrawableRes;
import androidx.annotation.IntDef;

public class ServiceBean {

    public static final int HOUSE = 11;//我的房屋
    public static final int HOUSE_ORDER = 12;//房屋缴费
    public static final int QUAN = 13;//优惠券
    public static final int CAR_PARK = 14;//停车
    public static final int COMMITTEE = 15;//优惠券

    public static final int ORDER = 1;//订单
    public static final int EVALUATE = 2;//评价
    public static final int ACTIVE = 3;//活动
    public static final int CIRCLE = 4;//圈子
    public static final int PERSON_INFO = 5;//个人信息
    public static final int ADDRESS = 6;//地址
    public static final int GM_ORDER_APPOINTMENT = 7;//装修预约
    public static final int GM_ORDER_WORKING = 8;//直播装修
    public static final int REFUND = 9;//退款/售后
    public static final int KEEPER = 10;

    public static final int SETTINGS = 21;//设置
    public static final int OPINION = 22;//反馈
    public static final int CSERVICE = 23;//客服

    public static final int VIP_SERVICE = 80;//会员卡服务项

    @IntDef({HOUSE, HOUSE_ORDER, QUAN, CAR_PARK, COMMITTEE, ORDER, EVALUATE, ACTIVE,
            CIRCLE, PERSON_INFO, ADDRESS, GM_ORDER_APPOINTMENT,
            GM_ORDER_WORKING, SETTINGS, OPINION, CSERVICE, REFUND, KEEPER, VIP_SERVICE})
    @interface Type {
    }

    @DrawableRes
    private int resId;

    private String name;

    private int type;

    public ServiceBean() {
    }

    public ServiceBean(int resId, String name) {
        this.resId = resId;
        this.name = name;
    }

    public ServiceBean(int resId, String name, @Type int type) {
        this.resId = resId;
        this.name = name;
        this.type = type;
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
